import time



def drive_to_shop(t):
    print(f"wait {t} 分钟")
    print("开车去菜市场ing...")
    time.sleep(t)


def buy(something,t=1):
    print(f"买了{something}ing...")
    time.sleep(t)


def eat():
    print("美味的大餐中ing...")


drive_to_shop(5)
buy("土豆")
buy("洋葱",4)
buy("西红柿")
eat()